import ReactDOM from 'react-dom/client'
import App from './App.tsx'
import { BrowserRouter } from 'react-router-dom';
import '@/assets/styles/base.css';
// Routes和Route直接配置方式
import RoutesConfig from '@/router/routes';
// import RoutesConfig from '@/router/index';

ReactDOM.createRoot(document.getElementById('root')!).render(
  <BrowserRouter>
    <RoutesConfig />
    <App />
  </BrowserRouter>
)
